Improve docstring of add-hook and remove-hook
authorTomas Nordin <tomasn@posteo.net>
Thu, 27 Feb 2025 21:06:25 +0000 (22:06 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 27 Feb 2025 22:13:35 +0000 (23:13 +0100)
commit1352b184f3f7bd1e31ee71ee4b60491dacaf347b
treefb9568a0dd20281b15146c2eb761ed9ffbdcf6e5
parentdbae1fc69f82ff481d1591d60a0c44cad354c3b3
Improve docstring of add-hook and remove-hook

* lisp/subr.el (add-hook, remove-hook): Remove detail about setting to
nil and talk about functions instead of hooks.  (Bug#72915)
lisp/subr.el